Methods and apparatus for cost minimization of multi-tiered infrastructure with end-to-end delay guarantees

ABSTRACT

Techniques are provided for determining a capacity allocation in a multi-tiered computing system. In one aspect of the invention, a technique for designing capacity allocation for a multi-tiered computing system, each tier of the computing system having one or more computing devices (e.g., servers), comprises the following steps/operations. Input parameters relating to capacity allocation are obtained. A capacity allocation is computed based on at least a portion of the input parameters, the capacity allocation being computable such that one or more end-to-end performance measures are substantially satisfied for multiple service classes. The capacity allocation computation may minimize a cost function. The capacity allocation computation may also satisfy one or more mean delay guarantees for the multiple service classes, one or more tail distribution guarantees for the multiple service classes, or both one or more mean delay guarantees and one or more tail distribution guarantees for the multiple service classes.

FIELD OF THE INVENTION

The present invention generally relates to data network infrastructure design techniques and, more particularly, to design techniques for minimizing cost associated with a data network infrastructure and providing particular performance guarantees on end-to-end delays for multiple classes of services.

BACKGROUND OF THE INVENTION

With the increasing bandwidth and connectivity associated with the Internet (or World Wide Web), electronic business or “e-business” (i.e., conducting business through the Internet) has become more and more popular. Many traditional services have been transformed or converted to Web-based services. E-business has not only become a cost effective solution for many traditional businesses, but it also creates new business opportunities. A variety of e-businesses now exist, ranging from, for example, on-line shopping, on-line auction, on-line reservation, on-line banking and on-line trading to customer relation management, personnel management, etc. E-business has become such a critical component of many companies that guaranteeing performance and availability has become essential.

Thus, the design and development of e-business infrastructure should meet a twofold challenge. On one hand, it must meet customer expectations in terms of quality of service (QoS). On the other hand, companies have to control information technology (IT) costs to stay competitive. It is therefore crucial to understand the tradeoff between costs and service levels so as to enable the determination of the most cost-effective architecture and system.

One of the most common architectures of e-business infrastructures is the multi-tier architecture, where requests are served by the system through different tiers of servers, from the front-end to the back-end, without necessarily going through all the tiers. Although architecturally simple, the system is quite complex and large in general, with multiple tiers of servers, each of which can have many components. A typical e-business system is comprised of hundreds of nodes with tens of applications running on them. Given the great complexity of the overall system, IT planners are constantly puzzled with questions regarding: how many servers to place at each tier in the current infrastructure; what layout can deliver the best QoS; is there enough capacity available to support the expected business opportunities and future growth.

Another important characteristic of today's e-business environment is the diversity of services that one system can support. Multiple classes of services are commonly provided to multiple clients, all of which are time-sharing and competing for the same set of resources. The service provider has contracts to each individual client and agrees to guarantee a certain level of QoS for each class of service.

Existing approaches for determining resource allocation to deliver end-to-end performance are quite limited. Most of these existing approaches have focused on a single tier and addressed either scheduling or load balancing issues.

Thus, a need exists for techniques that determine a capacity allocation in a multi-tiered system with multiple classes of services so as to minimize the infrastructure cost while satisfying the end-to-end performance guarantees.

SUMMARY OF THE INVENTION

The present invention provides techniques for determining a capacity allocation in a multi-tiered system.

In one aspect of the invention, a technique for designing capacity allocation for a multi-tiered computing system, each tier of the computing system having one or more computing devices (e.g., servers), comprises the following steps/operations. Input parameters relating to capacity allocation are obtained. A capacity allocation is computed based on at least a portion of the input parameters, the capacity allocation being computable such that one or more end-to-end performance measures are substantially satisfied for multiple service classes.

Further, the step/operation of computing the capacity allocation may further comprise substantially minimizing a cost function. The step/operation of computing the capacity allocation may further comprise substantially satisfying one or more mean delay guarantees for the multiple service classes. The step/operation of computing the capacity allocation may further comprise substantially satisfying one or more tail distribution guarantees for the multiple service classes.

Still further, the step/operation of computing the capacity allocation may further comprise substantially satisfying one or more mean delay guarantees and one or more tail distribution guarantees for the multiple service classes. The step/operation of computing the capacity allocation may further comprise formulating the capacity allocation computation (or problem) as an optimization problem so as to substantially satisfy the one or more mean delay guarantees and the one or more tail distribution guarantees for the multiple service classes. The optimization problem may be formulated as a separable convex programming problem with linear constraints. The separable convex programming problem may be solved by finding an optimal solution on a boundary of a convex hull representing feasible solutions to the programming problem. The separable convex programming problem may be solved in polynomial time.

These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a feed-forward multi-tier system in accordance with which illustrative principles of the present invention may be implemented;

FIG. 2 is a diagram graphically illustrating a geometric interpretation of a problem, according to an embodiment of the present invention;

FIG. 3 is a diagram graphically illustrating approximation performance as a function of a tail distribution requirement, according to an embodiment of the present invention;

FIG. 4 is a diagram graphically illustrating approximation performance as a function of the number of tiers, according to an embodiment of the present invention;

FIG. 5 is a diagram graphically illustrating approximation performance as a function of the number of classes, according to an embodiment of the present invention;

FIGS. 6A through 6F are diagrams tabularly illustrating bounds under different values when both mean and tail constraints are present, according to an embodiment of the present invention;

FIG. 7 is a flow diagram illustrating a process for determining a lower bound for both mean and tail distribution guarantees in accordance with illustrative principles of the present invention;

FIG. 8 is a flow diagram illustrating a process for determining an upper bound for both mean and tail distribution guarantees in accordance with illustrative principles of the present invention;

FIG. 9 is a block diagram illustrating a design system for computing capacity allocation, according to an embodiment of the present invention; and

FIG. 10 is a block diagram illustrating a generalized hardware architecture of a computer system suitable for implementing a design system for computing capacity allocation, according to an embodiment of the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The following description will illustrate the invention using an exemplary e-business environment. It should be understood, however, that the invention is not limited to use with any particular environment. The invention is instead more generally applicable for use with any data network environment in which it is desirable to determine a capacity allocation so as to, for example, minimize the infrastructure cost while satisfying end-to-end performance guarantees.

The remainder of the detailed description is organized as follows. In section 1, an introduction to principles of the invention is presented. In section 2, the illustrative problem under consideration is presented in the context of a general feed-forward network, and the two performance metrics of interest are introduced, namely, the mean and the tail distribution of the end-to-end response times. Section 3 focuses on mean performance guarantees, while section 4 focuses on the performance guarantees on tail distributions of the end-to-end response times. The results from section 3 and 4 are then combined, and an illustrative approach is described in section 5 with both types of end-to-end response time guarantees. Numerical results are used to demonstrate the illustrative performance of the inventive techniques in section 6. In section 7, some illustrative case discussions are presented. Illustrative design systems and methodologies are presented in section 8.

1. Introduction

As will be illustratively explained below, the present invention provides service guarantees on both the mean and the tail distribution of the end-to-end response times, where the mean response time is also referred to, in practice, as the average delay, and the tail distribution gives the percentage of requests that experience end-to-end delays higher than a pre-specified threshold. For example, a mean-delay performance guarantee can require average delay per request to be less than 5 seconds, and a tail distribution guarantee can require no more than 5% of requests experience delays greater than 15 seconds.

It is assumed that the cost of a given capacity allocation is a convex separable increasing function of the capacity assignment vector. That is, if capacity c^(t) is assigned to tier t, then a cost of f_(t)(c^(t)) will be incurred and total cost of assignment (c¹, . . . , c^(T)) to a T-tiered system is simply

$\sum\limits_{t = 1}^{T}{{f_{t}\left( c^{t} \right)}.}$ Such a cost function can be used to handle many e-business cost structures. For example, if f(c) is linear in c, then the cost structure is purely on the IT expenses. Also, f_(t)(c^(t)) can be chosen to represent the mean delay or the tail probability of the delay at tier t, in this case, it represents profits or penalty related to the QoS contracts (i.e., performance agreements between service providers and service clients).

Further, the invention provides a nonlinear programming problem formulation and addresses its structural properties. It is shown that under the mean response time guarantees alone, the solution has an advantageous geometric interpretation. The invention also provides various methods to solve the problem.

The problem with guarantees on the tail distribution of response times is more complicated. The invention provides approximation methods which bound from above and from below the tail distribution of the end-to-end delay. With the upper bound, the tail distribution guarantee is ensured. Thus, the corresponding total cost is also an upper bound for the optimal solution. The lower bound for the cost function can be similarly obtained. It is shown that the inventive solution is only away from the optimal by a constant factor, which is independent of the service demands of the job classes at all tiers. It is also shown that the inventive techniques can achieve asymptotic optimality when the service requirement becomes stringent. Finally, the invention is described with regard to both types of end-to-end response time guarantees.

2. The Problem

In this illustrative description, a feed-forward multi-tier system is considered, as illustrated in FIG. 1. There are t=1, . . . , T server stations (or tiers) and k=1, . . . , K classes of jobs. It is assumed that class k arrivals are Poisson with rate λ_(k). Jobs of class k visit the stations along route k which is a deterministic sequence: v(k, 1), v(k, 2), . . . , v(k, L_(k)). If v(k, l)=t, it is said that a class k job visits server station t at stage l. The routes are assumed to be feed-forward in the sense that for all k, v(k, 1)<v(k, 2)< . . . <v(k, T _(k)), where T_(k) is the total number of hops (tiers) in route k. Denote δ_(k) ^(t)=1 if route k will pass through station t and δ_(k) ^(t)=0 otherwise. Then λ_(k) ^(t)=δ_(k) ^(t)λ_(k) is the arrival rate of class k jobs to station t.

At each server station, there could be multiple servers. It is assumed that each individual server has a unit capacity and the total number of servers c^(t) at station t is yet to be determined. Let {right arrow over (c)}=(c¹, c², . . . , c^(T)) be a capacity assignment so that station t has capacity c^(t). We assume that all servers that belong to station t work together and execute the incoming requests in a processor-sharing (PS) manner.

The nominal service requirements of class k jobs at station t are independent and identically distributed random variables S_(k) ^(t) with mean m_(k) ^(t)=E[S_(k) ^(t)]. The term ‘nominal’ is used because the capacity c^(t) at tier t is a decision variable. Therefore, if capacity c^(t) is assigned to tier t, then the mean service time for class k jobs at tier t is m_(k) ^(t)/c^(t).

Let q^(t) be the nominal server utilization at station t such that

$q^{t} = {\sum\limits_{k}{\lambda_{k}^{t}{m_{k}^{t}.}}}$ Then, under capacity c^(t), the server utilization at station t will be ρ^(t)=Σ_(k)λ_(k) ^(t)m_(k) ^(t)/c^(t)=q^(t)/c^(t). In order for the system to be stable (i.e., the workload does not build up infinitely as time goes on), the minimum capacity assignment c must satisfy: c^(t)>q^(t), for all t=1, . . . , T.

Under the processor-sharing service discipline, all server stations are symmetric queues thus quasi-reversible. For a stationary open network of quasi-reversible stations, it is known that product form holds and we further have the following two properties:

i) the state variables for each station are independent of those for other stations; and

ii) the arrival process for every class of jobs at each station has the PASTA property; here PASTA stands for Poisson Arrivals See Time Average, which means that at any arriving epoch, the new arrival always sees the system in average states (e.g., the number of jobs waiting in queue seen by any new arrival is the average queue length, etc).

Furthermore, based on the Burke's theorem, we have

iii) the arrival processes at each station in a feed-forward network are also Poisson.

Let R_(k) ^(t) be the stationary response time random variable for class k jobs at station t. Denote R_(k) the stationary end-to-end response time random variable of class k jobs. Based on properties i-iii), we then have for each k, {R_(k) ^(t), t=1, 2, . . . , T} are independent random variables, and that

${R_{k}\overset{d}{=}{\sum\limits_{t = 1}^{T}R_{k}^{t}}},{{where}\overset{d}{=}{{denotes}\mspace{14mu}{equivalence}\mspace{14mu}{in}\mspace{14mu}{{distribution}.}}}$ Based on the product form, we know that the number of jobs at station t is the same as that in the M/M/1 queues. Therefore,

${{E\left\lbrack R_{k}^{t} \right\rbrack} = {\frac{m_{k}^{t}/c^{t}}{1 - \rho^{t}} = \frac{m_{k}^{t}}{c^{t} - q^{t}}}},$ and the mean end-to-end delay for class k jobs is

${E\left\lbrack R_{k} \right\rbrack} = {{\sum\limits_{t}{E\left\lbrack R_{k} \right\rbrack}}=={\sum\limits_{t}{\frac{m_{k}^{t}}{c^{t} - q^{t}}.}}}$

We shall consider the following two types of service guarantees: E[R_(k)]≦Ū_(k), for each k   (1) and P[R_(k)>U_(k)]≦ε_(k), for each k   (2) Constraint (1) guarantees the average end-to-end response time of class k jobs to be no more than Ū_(k), and constraint (2) guarantees that the probability that the end-to-end delay of class k is greater than U_(k) is no more than ε_(k).

It is assumed that the cost structure is a separable increasing function of the capacity assignment c=(c¹, c², . . . , c^(T)). That is, for all t=1, . . . , T, f_(t)(·) is a convex increasing function. If capacity c^(t) is assigned to tier t, then a cost of f_(t)(c^(t)) will be incurred. The total cost of this assignment is simply

$\sum\limits_{t = 1}^{T}{{f_{t}\left( c^{t} \right)}.}$ The problem is to minimize the overall cost of the capacity allocation with one or both of these end-to-end response time guarantees. 3. Mean Delay Guarantee

We first consider the problem with average delay guarantees of the form in (1). This is a common and natural form of service level requirements from the customers. The problem of finding the most cost-effective capacity allocation such that the mean delay requirement is guaranteed can be formulated as:

$\begin{matrix} {\min\;{\sum\limits_{t}{f_{t}\left( c^{t} \right)}}} & (3) \\ {{{s.t.\mspace{14mu}{\sum\limits_{t}\frac{m_{k}^{t}}{c^{t} - q^{t}}}} \leq {\overset{\_}{U}}_{k}},{k = 1},\ldots\mspace{11mu},{K;}} & (4) \\ {{c^{t} > q^{t}},{t = 1},\ldots\mspace{11mu},{T.}} & (5) \end{matrix}$

Condition (5) is exactly the stability condition. The capacity c^(t) required by each tier t must be at least q^(t) to ensure the system is stable, and must be greater than q^(t) to have finite response time. Then, a new variable x^(t) can be assigned, such that c^(t)=q^(t)+1/x^(t). Here, 1/x^(t) is the extra capacity (above the minimum requirement q^(t)) allocated to tier t. Denote further w _(k) ^(t) =m _(k) ^(t) /Ū _(k) , t=1, . . . , T; k=1, . . . , K.

Here, w_(k) ^(t) can be interpreted as the weights (or relative ratio) of the nominal service times for a class-k job at tier t to its required mean end-to-end upper bound Ū_(k).

Now, the problem is simplified to the following:

$\begin{matrix} (M) \\ \begin{matrix} {\min\;{\sum\limits_{t}{g_{t}\left( x^{t} \right)}}} & \; \\ {{{s.t.\mspace{14mu}{\sum\limits_{t}{w_{k}^{t}x^{t}}}} \leq 1},{k = 1},\ldots\mspace{11mu},K,} & (6) \\ {{x^{t} \geq 0},{t = 1},\ldots\mspace{11mu},T,} & (7) \end{matrix} \end{matrix}$ where g_(t)(x^(t))=f_(t)(q^(t)+1/x^(t))=f_(t)(c^(t)). The problem becomes to minimize the total cost which occurs due to the extra system capacity 1/x^(t). It is natural to assume function f_(t) is non-decreasing for each t. Therefore, g_(t) is a non-increasing function. Moreover, in the rest of this section, we assume g_(t) is convex function. It is easy to see that this assumption is satisfied if f_(t) is convex. However, this is not necessary. This assumption is also satisfied for some well-known concave cost function: for example, f_(t)(c^(t))=ln(c^(t)).

Note that we also relaxed the last constraint (5) from > to ≧ so that the feasible region is compact. It is obvious that x^(t)=0 will never be the optimal solution.

For notation simplicity, we will use {right arrow over (x)} and {right arrow over (w)}_(k), k=1, . . . , K, to denote vectors: {right arrow over (x)}=(x ¹ , . . . , x ^(T)), {right arrow over (w)} _(k)=(w _(k) ¹ , . . . , w _(k) ^(T)). The feasibility condition becomes {right arrow over (w)} _(k) ·{right arrow over (x)}≦1, k=1, . . . , K.

The optimization problem (M) has an advantageous form which leads to an immediate simplification with natural interpretations. Let Ω denote the feasible region, that is, Ω={{right arrow over (x)}εR₊ ^(T)|{right arrow over (w)}_(k)·{right arrow over (x)}≦1, k=1, . . . , K}. Note that Ω is a polyhedron set determined by the vectors {right arrow over (w)}₁, . . . , {right arrow over (w)}_(K) in the positive quadran R₊ ^(T), we also denote Ω as Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K))

Let {{right arrow over (w)}_(l), lεS} be the extreme vectors determined by the extreme vertices of Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)), then each vector {right arrow over (w)}_(k), k=1, . . . , K is dominated by a convex combination of the extreme vectors {{right arrow over (w)}_(l), lεS}, i.e.,

${{\overset{->}{w}}_{k} \leq {\sum\limits_{l \in S}{\alpha_{k,l}{\overset{->}{w}}_{l}}}},{{\sum\alpha_{k,l}} = 1},{\alpha_{k,l} \geq 0.}$ Then, for all {right arrow over (x)}εR₊ ^(T) that satisfies {right arrow over (w)}_(l)·{right arrow over (x)}≦1, lεS, it must also satisfy {right arrow over (x)}εΩ. This is because {right arrow over (x)}≧0, and

${{{\overset{->}{w}}_{k} \cdot \overset{->}{x}} \leq {\sum\limits_{l \in S}{\alpha_{k,l}{{\overset{->}{w}}_{l} \cdot \overset{->}{x}}}} \leq {\sum\limits_{l \in S}{\alpha_{k,l}{\sum\alpha_{k,l}}}}} = 1.$ This means that the constraint corresponding to {right arrow over (w)}_(k) can be derived from the constraints corresponding to extreme vectors {{right arrow over (w)}_(l), lεS}. Therefore, we can ignore the constraints corresponding to the vectors {right arrow over (w)}_(k), if it is dominated by a convex combination of some other {right arrow over (w)} vectors. Note that the extreme vectors {{right arrow over (w)}_(l), lεS} are completely determined by the extreme vertices. Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)) is simply a convex hull of all the extreme vertices. We then have the following property:

Property 1. The optimal solution to (M) is determined by the vertices of Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)).

In other words, if a point {right arrow over (w)}_(k) lies in the interior of the polyhedron, then it will not play a role in determining the optimal solution. In the context of the original problem, when allocating server capacities, one class of jobs satisfying the mean end-to-end response time constraint could imply another class of jobs' mean response time constraint be automatically satisfied. In this case, the mean response time constraint for the latter job class is less stringent, and can be derived from the constraint for the former job class. Here, the extreme vertices of the polehedral correspond to the class of jobs whose response time constraints are more stringent, and can not be derived from the constraints for other job classes.

After simplifying the formulation, we now turn to how to find the optimal solutions to the problem. The optimization problem (M) is a separable convex programming problem with linear constraints. Note that such a separable convex programming problem with linear constraints can be converted into a linear program and solved in polynomial time. Such a program will be illustrated below.

Furthermore, observe that the objective function in (M) is monotone non-increasing in each variable, hence, the optimal solution must lie on the boundary of the feasible region. That is:

Property 2. The optimal solution to (M) must be on the boundary of Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)).

Notice that this is slightly counter-intuitive comparing with the general convex optimization problems where the optimal solutions are very often interior points.

3.1. Mean Delay Guarantee with Linear Cost Function

In the rest of this section, we shall consider the case when the cost function is linear. That is, f_(t)(c^(t))=c^(t). Thus the cost structure is purely on the IT expenses. The problem of minimizing the total capacity such that the mean delay constraints are satisfied can then be written as

$\begin{matrix} {\min\;{\sum\limits_{t}{1/x^{t}}}} & \left( {M1} \right) \\ {{{s.t.\mspace{14mu}{\sum\limits_{t}{w_{k}^{t}x^{t}}}} \leq 1},{k = 1},\ldots\mspace{11mu},{K;}} & (8) \\ {{x^{t} \geq 0},{t = 1},\ldots\mspace{11mu},T,} & (9) \end{matrix}$ Observe from formulation (M1) that the optimal solution x^(*) does not depend on the arrival intensity. That is, the extra capacity required to ensure the mean end-to-end delay guarantees is only determined by the weights w_(k) ^(t)'s. It is therefore easy to adapt the above planning problem on-line for the live system, since one simply needs to add the solution for the extra capacity to the predicted capacity requirement for the incoming loads.

The analysis of the dual problem can help exploit advantageous structures and properties as well as facilitate developing efficient solutions. Furthermore, the dual solution often plays a key role in the sensitivity and robustness analyses. We now consider the dual problem.

First we examine the Lagrangian problem,

$\begin{matrix} {{{\max\limits_{x,s_{1},\ldots\mspace{11mu},s_{k}}L} = {{- {\sum\limits_{t}{1/x^{t}}}} + {\sum\limits_{k}{s_{k}\left( {1 - {\sum\limits_{t}{w_{k}^{t}x^{t}}}} \right)}}}},} & (10) \end{matrix}$ where the s_(k)'s are the Lagrangian multipliers.

The Karush-Kuhn-Tucker (KKT) conditions lead to the following properties for the optimal solutions:

$\begin{matrix} {\left( {{optimality}\mspace{14mu}{condition}} \right)\begin{matrix} {{\frac{\partial L}{\partial x^{t}} = {{{1/\left( x^{t} \right)^{2}} - {\sum\limits_{k}{s_{k}w_{k}^{t}}}} = 0}},} & {{t = 1},\ldots\mspace{11mu},T} \end{matrix}} & (11) \\ {\left( {{complementary}\mspace{14mu}{slackness}} \right){{{s_{k}\left( {1 - {\sum\limits_{t}{w_{k}^{t}x^{t}}}} \right)} = 0},\mspace{14mu}{k = 1},\ldots\mspace{11mu},K}} & (12) \\ {\left( {{feasibility}\mspace{14mu}{condition}} \right){{{\sum\limits_{t}{w_{k}^{t}x^{t}}} \leq 1},\mspace{14mu}{k = 1},\ldots\mspace{11mu},K}} & (13) \\ {\left( {{nonnegative}\mspace{14mu}{condition}} \right){{x^{t} \geq 0},\mspace{14mu}{t = 1},\ldots\mspace{11mu},T}} & \; \\ {\left( {{nonnegative}\mspace{14mu}{condition}} \right){{s_{k} \geq 0},\mspace{14mu}{k = 1},\ldots\mspace{11mu},K}} & (14) \end{matrix}$

Proposition 1. For the optimal solution {right arrow over (x)} and s₁, . . . , s_(K),

$\begin{matrix} {{\sum\limits_{k}s_{k}} = {\sum\limits_{t}{1/{x^{t}.}}}} & (15) \end{matrix}$

This may be proven as follows. From complementary slackness condition (12),

${{\sum\limits_{k}s_{k}} = {{\sum\limits_{k}{s_{k}{\sum\limits_{t}{w_{k}^{t}x^{t}}}}} = {{\sum\limits_{t}{\sum\limits_{k}{s_{k}w_{k}^{t}x^{t}}}}\mspace{59mu} = {{\sum\limits_{t}{\underset{k}{x^{t}\sum}s_{k}w_{k}^{t}}} = {{\sum\limits_{t}{x^{t}\frac{1}{\left( x^{t} \right)^{2}}}} = {\sum\limits_{t}{1/x^{t}}}}}}}},$ where the second to the last equality follows from the optimality condition (11).

For given s=(s₁, . . . , s_(K)), the Lagrangian dual function q(s) is defined as

${q(s)} = {{\sup\limits_{\overset{->}{x} \geq 0}\left\{ {{- {\sum\limits_{t}{1/x^{t}}}} + {\sum\limits_{k}{s_{k}\left( {1 - {\sum\limits_{t}{w_{k}^{t}x^{t}}}} \right)}}} \right\}}\mspace{45mu} = {{{\sum\limits_{k}s_{k}} - {\sum\limits_{t}{\inf\limits_{\overset{->}{x} \geq 0}\left( {{1/x^{t}} + {x^{t}{\sum\limits_{k}{s_{k}w_{k}^{t}}}}} \right)}}}\mspace{45mu} = {{\sum\limits_{k}s_{k}} - {2{\sum\limits_{t}{\sqrt{\sum\limits_{k}{s_{k}w_{k}^{t}}}.}}}}}}$ Hence the dual problem of (M1) is

$\begin{matrix} {{g = {{\max\mspace{14mu} 2{\sum\limits_{t}\sqrt{\sum\limits_{k}{s_{k}w_{k}^{t}}}}} - {\sum\limits_{k}s_{k}}}}{{{s.t.\mspace{14mu} s_{k}} \geq 0},\mspace{14mu}{k = 1},\ldots\mspace{11mu},{K.}}} & \left( {D1} \right) \end{matrix}$ Define h to be

$\begin{matrix} {{h = {\max\mspace{14mu}{\sum\limits_{t}\sqrt{\sum\limits_{k}{{\hat{s}}_{k}w_{k}^{t}}}}}}{{{s.t.\mspace{14mu}{\sum\limits_{k}{\hat{s}}_{k}}} = 1},\mspace{14mu}{{\hat{s}}_{k} \geq 0},{k = 1},\ldots\mspace{11mu},{K.}}} & \left( {D2} \right) \end{matrix}$ Then g can be written as

$g = {{{\max\limits_{s \geq 0}\mspace{14mu}{2{\sum\limits_{t}\sqrt{\sum\limits_{k}{s_{k}w_{k}^{t}}}}}} - {\sum\limits_{k}s_{k}}}\mspace{14mu} = {{{\max\limits_{s \geq 0}\mspace{14mu}{2\sqrt{\sum\limits_{k}s_{k}}{\sum\limits_{t}\sqrt{\sum\limits_{k}{\frac{s_{k}}{\sum\limits_{j}s_{j}}w_{k}^{t}}}}}} - {\sum\limits_{k}s_{k}}}\mspace{14mu} = {{{\max\limits_{u \geq 0}\mspace{14mu}{2{uh}}} - {u^{2}\mspace{14mu}\left( {{{Set}\mspace{14mu} u^{2}} = {\sum\limits_{k}s_{k}}} \right)}}\mspace{14mu} = {h^{2}.}}}}$ The minimum in the last step is taken at u=h. This leads to the following proposition.

Proposition 2. Assume the optimal solution for Problem (D2) is ŝ₁, . . . , ŝ_(K) with objective equal to h. The optimal solution s₁, . . . , s_(K) for Problem (D1) is then s_(k)=h²ŝ_(k). And the optimal objective value is g=h².

Problem (D2) can be re-written as

$\begin{matrix} {{h = {\max\mspace{14mu}{\sum\limits_{t}\sqrt{w_{0}^{t}}}}}{{s.t.\mspace{14mu}{\overset{->}{w}}_{0}} = {{\sum\limits_{k}{{\hat{s}}_{k}{\overset{->}{w}}_{k}\mspace{25mu}{\sum\limits_{k}{\hat{s}}_{k}}}} = 1}},\mspace{14mu}{{\hat{s}}_{k} \geq 0},{k = 1},\ldots\mspace{11mu},{K.}} & ({D3}) \end{matrix}$ This problem has an advantageous geometric interpretation. We want to find the best point {right arrow over (w)}₀ on Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)) such that the objective function Σ_(t)√{square root over (w₀ ^(t))} is maximized.

The geometric interpretation of problem (D3) is illustrated in FIG. 2. Consider the T-dimensional space, where each point corresponds to a weighted service time requirement vector {right arrow over (w)}=(w¹, . . . , w^(T)). Let Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)) be the polyhedron in the positive quadran R₊ ^(T) determined by {right arrow over (w)}₁, . . . , {right arrow over (w)}_(K). Problem (D3) is to move the surface Σ_(t)√{square root over (w^(t))}=c toward the origin and find the first point {right arrow over (w)}₀ on the boundary of Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)), where the surface and the polyhedron intersect. For a given vector {right arrow over (x)}=(x¹, . . . , x^(T)), the hyperplane {right arrow over (w)}·{right arrow over (x)}=1 is uniquely determined such that 1/x^(t) is the intersection of the hyperplane with the t-axis. Therefore, if {right arrow over (x)} is feasible to problem (M1), then Polyhedron₊({right arrow over (w)}₁, . . . , {right arrow over (w)}_(K)) must stay below the corresponding hyperplane because {right arrow over (w)}_(k)·{right arrow over (x)} must be no more than 1 for every k. We call this hyperplane feasible hyperplane. In order for a hyperplane passing through {right arrow over (w)} to be feasible, {right arrow over (w)} must lie on some face of the polyhedron, because otherwise the polyhedron would not be under the hyperplane. This implies that for any vector {right arrow over (w)}_(k), if the corresponding constraint in (M1) is binding, then it must lie on some face.

The gradient of the objective function Σ_(t)√{square root over (w^(t))} of (D3) is (1/√{square root over (w^(t))}, . . . , 1/√{square root over (w^(T))})/2. These gradients are drawn by the arrows in FIG. 2. The dash line in the graph represents the hyperplane passing through w₂ whose normal is (1/√{square root over (w₂ ¹)}, . . . , 1/√{square root over (w₂ ^(T))})/2. This hyperplane can be written Σ_(t)(w^(t)−w₂ ^(t))/√{square root over (w₂ ^(t))}=0. If the whole polyhedron is under this hyperplane, then {right arrow over (w)}₂ is the optimal solution because there is no direction to improve from {right arrow over (w)}₂. We call this hyperplane w-optimal hyperplane because it determines whether {right arrow over (w)} is the optimal solution or not. Therefore, for any {right arrow over (w)}, if the corresponding w-optimal hyperplane is a feasible hyperplane, then {right arrow over (w)} is optimal solution. On the other hand, in order for {right arrow over (w)} to be optimal, the whole polyhedron must be under its corresponding w-hyperplane. The above observation leads to the following Lemma.

Lemma 3. The optimal solution of (D3) is attained at w₀ if and only if

$\begin{matrix} {{\sum\limits_{t}\frac{w_{k}^{t} - w_{0}^{t}}{\sqrt{w_{0}^{t}}}} \leq {0\mspace{14mu}{for}\mspace{14mu}{all}\mspace{14mu}{k.}}} & (16) \end{matrix}$

Remark 4. Consider the case with only one single job class whose weighted service requirement vector is {right arrow over (w)}₁. The hyperplane {right arrow over (w)}·{right arrow over (x)}=1, where

${\overset{->}{x} = \left( {\frac{1/\sqrt{w_{1}^{t}}}{\sum\limits_{\tau}\sqrt{w_{1}^{\tau}}},\mspace{14mu}{t = 1},\ldots\mspace{11mu},T} \right)},$ is a w-optimal hyperplane. Therefore,

$\overset{->}{x} = \left( {\frac{1/\sqrt{w_{1}^{t}}}{\sum\limits_{\tau}\sqrt{w_{1}^{\tau}}},\mspace{14mu}{t = 1},\ldots\mspace{11mu},T} \right)$ gives the optimal allocation to the original problem (M1).

In the optimal dual solution, if s_(k)>0, then the corresponding constraint in (M1) is binding and any increase of {right arrow over (w)}_(k) will require the increase of capacity to avoid missing the mean response time constraint for class k. Therefore, we call those classes for which s_(k)>0 bottleneck classes. The optimal solution (ŝ_(k)) to problem (D2) reflects the relative stringent level of the bottleneck classes, and {right arrow over (w)}₀=Σ_(k)ŝ_(k){right arrow over (w)}_(k) is the pooled equivalent service requirement for the bottleneck classes. Optimally allocating capacity to satisfy the mean end-to-end response time constraint for all classes is equivalent to finding the optimal capacity allocation for this equivalent bottleneck (virtual) class.

Theorem 5. Assume {right arrow over (w)}₀ is the optimal solution to problem (D3), then {right arrow over (x)} is an optimal solution to (M) if and only if it is the optimal solution to the following optimization problem:

$\begin{matrix} {{\min\;{\sum\limits_{t}{1/x^{t}}}}{{{{s.t.\mspace{14mu}{\overset{->}{w}}_{0}} \cdot \overset{->}{x}} \leq 1},{\overset{->}{x} \geq 0},{{{where}\mspace{14mu}{\overset{->}{w}}_{0}} = {\frac{\sum\limits_{k}{s_{k}{\overset{->}{w}}_{k}}}{\sum\limits_{j}s_{j}}.}}}} & (P) \end{matrix}$

This may be proven as follows. First, because of the strict convexity of the objective function, (P) must have a unique solution.

The optimal solution {right arrow over (y)} to the single constrained optimization problem (P) can be expressed as follows:

$\begin{matrix} {{y^{t} = \frac{1}{\sqrt{w_{0}^{t}{\sum\limits_{\tau}\sqrt{w_{0}^{\tau}}}}}},\mspace{14mu}{t = 1},\ldots\mspace{11mu},{T.}} & (17) \end{matrix}$ To see this, we let s₀ be the dual variable corresponding to the single constraint. Then from (11), we have y ^(t)=1/√{square root over (w ₀ ^(t) s ₀)}, t=1, . . . , T. The complementary slackness constraint (12) leads to Σ_(t)w₀ ^(t)y^(t)=1. Setting s₀=(Σ_(t)√{square root over (w₁ ^(t))}), we then have (17).

Now we express {right arrow over (w)}₀ by s_(k)—the solution to (D1):

$w_{0}^{t} = {\frac{\sum\limits_{k}{s_{k}w_{k}^{t}}}{\sum\limits_{k}s_{k}} = {\frac{1/\left( x^{t} \right)^{2}}{\sum\limits_{k}s_{k}} = {\frac{1}{\left( x^{t} \right)^{2}{\sum\limits_{t}{1/x^{t}}}}.}}}$ where the second equality follows from the optimality condition (11), and the last equality is based on Proposition 1.

Substitute this expression into (17), we have

$y^{t} = {\frac{x^{t}\sqrt{\sum\limits_{t}{1/x^{t}}}}{\sum\limits_{t}\frac{1}{x^{t}\sqrt{\sum\limits_{t}{1/x^{t}}}}} = {x^{t}.}}$

We end this section by considering two simplest systems: single-tier system and two-tier system. It is straight forward that the optimal solution to the allocation problem when T=1 is x¹=1/max_(k)w_(k) ¹. The optimal capacity allocation for the two-tier system is given by the following theorem.

Theorem 6. Consider the two-tier system. Let

${\overset{\sim}{w} = {{\underset{1 \leq k \leq K}{\arg\mspace{14mu}\max}{\sum\limits_{t}{{\sqrt{w_{k}^{t}}.{If}}\mspace{14mu}{\sum\limits_{t}\frac{w_{k}^{t} - {\overset{\sim}{w}}^{t}}{\sqrt{{\overset{\sim}{w}}^{t}}}}}}} \leq 0}},\;{{for}\mspace{14mu}{all}\mspace{14mu} k},$ then the optimal capacity allocation is

${1/x^{t}} = {\left( {\sqrt{{\overset{\sim}{w}}^{t}}{\sum\limits_{\tau}\sqrt{{\overset{\sim}{w}}^{t}}}} \right).}$ Otherwise, let ŵ be the vertex in {w₁, . . . , w_(K)} that are connected to w on the boundary of the polyhedron such that

${{{\sum\limits_{t}\frac{{\hat{w}}^{t} - {\overset{\sim}{w}}^{t}}{\sqrt{{\overset{\sim}{w}}^{t}}}} \geq {0\mspace{14mu}{and}\mspace{14mu}\theta}} = \frac{{\overset{\sim}{w}}^{2} - {\hat{w}}^{2}}{{\overset{\sim}{w}}^{1} - {\hat{w}}^{1}}},$ then the optimal solution to problem (M) is

${x^{t} = {1/\left( {\sqrt{w^{t}}{\sum\limits_{r}\sqrt{w^{r}}}} \right)}},$ where

$w^{1} = \frac{{\overset{\sim}{w}}^{2} - {\theta{\overset{\sim}{w}}^{1}}}{\theta^{2} - \theta}$ and w²=θ²w¹.

This may be proven as follows. The first part follows immediately from Lemma 3 and Theorem 5. For the second part, note that

$w = \left( {\frac{{\overset{\sim}{w}}^{2} - {\theta{\overset{\sim}{w}}^{1}}}{\theta^{2} - \theta},{\theta^{2}w^{1}}} \right)$ is the best point along the boundary passing both {tilde over (w)} and ŵ, so it has to be the optimal. 4. Tail Distribution Guarantee

In this section, we consider the capacity planning problem with the tail distribution guarantee constraint (2). The problem can be formulated as:

$\begin{matrix} {(T)\min\;{\sum\limits_{t}{f_{t}\left( c^{t} \right)}}} & \; \\ {{{{s.t.\mspace{14mu}{P\left\lbrack {R_{k} > U_{k}} \right\rbrack}} \leq ɛ_{k}},\mspace{14mu}{k = 1},\ldots\mspace{11mu},{K;}}\mspace{155mu}{{c^{t} \geq q^{t}},\mspace{14mu}{t = 1},\ldots\mspace{11mu},{T.}}} & (18) \end{matrix}$ As mentioned in section 2, for each class k, the steady state end-to-end response time R_(k) stochastically equals the sum of the steady state delays at each tier which is a M/G/1 PS queue. Therefore, to study the tail probability guarantee, we need to first understand the tail behavior of the response time of PS queues. Here, we assume the delay of class k at tier t R_(k) ^(t) follows a distribution function G_(k) ^(t)(c, y)=P[R_(k) ^(t)≦y|c^(t)=c]. Note that the distribution of R_(k) ^(t) does not depend on the capacity allocation at the other tiers.

Then, because the delay at each tier is independent, for each class k, the left hand side of the constraint (18) can be computed by the convolution of G_(k) ^(t) with respective to y over all the tiers visited by class k jobs. After convolution, the left hand side of the constraint (18) is written as a function of the capacity allocation vector {right arrow over (c)}=(c¹, c², . . . , c^(T)). Therefore, problem (T) becomes a non-linear program. However, there is no closed-form (besides Laplace transform) expression for the response time tail distribution under PS, so it is almost impossible to derive the closed-form expression for the left hand side of (18) as a function of {right arrow over (c)}. Even in some cases, this expression (or approximation) is available, it usually will be a very complicated function which makes the non-linear problem hard to solve. Then, one will naturally search for good near optimal solutions and/or bounds.

In accordance with the invention, by approximating the constraint (18), we derive upper and lower bounds and give a near optimal solution to problem (T). Indeed, under some assumptions on the distribution function G_(k) ^(t), the solution is proven to be asymptotically optimal.

4.1. Lower Bound

To derive a lower bound for problem (T), we want to relax the constraint (18). The following Lemma gives a straightforward way to relax (18).

Lemma 7. If the end-to-end delays R_(k) for all classes satisfy constraint (2), then P[R_(k) ^(t)>U_(k)]≦ε_(k), 1≦k≦K, 1≦t≦T.   (19)

This may be proven as follows. For each k, t, because

$R_{k}\overset{d}{=}{\sum\limits_{\tau}R_{k}^{\tau}}$ and Σ_(τ)R_(k) ^(τ)≧R_(k) ^(t),

${P\left\lbrack {R_{k}^{t} > U_{k}} \right\rbrack} \leq {P\left\lbrack {{\sum\limits_{\tau}R_{k}^{\tau}} > U_{k}} \right\rbrack} \leq {ɛ_{k}.}$

Lemma 7 basically says that if the tail distribution guarantees on the end-to-end delay are satisfied, then these guarantees will be satisfied for the delay at each tier. Therefore, replacing constraint (2) by (19), we can obtain a lower bound for problem (T) which is stated as follows.

Theorem 8. Σ_(t)f_(t)(c_(*) ^(t)) is a lower bound on problem (T), where

$\begin{matrix} {c_{*}^{t} = {\max\limits_{k \in {K{(t)}}}{\min\;{\left\{ {{c\text{:}{G_{k}^{t}\left( {c,U_{k}} \right)}} \geq {1 - ɛ_{k}}} \right\}.}}}} & (20) \end{matrix}$ 4.2 Feasible Solution and Upper Bound

The solution {right arrow over (c)}_(*) we obtain in (20) provides a lower bound for problem (T) but it is not feasible to (T) and does not guarantee the tail distribution requirement on the end-to-end delay. To derive a feasible solution for (T), we first define the random variable R_(k) ^(t,n) to be the summation of n independent copies of R_(k) ^(t). Denote ℑ_(k) the set of tiers that will be visited by class k jobs, k=1, . . . , K, and denote T_(k) the total number of tiers in set ℑ_(k). Note that if a class k job does not visit tier t, then we set R_(k) ^(t)=0. Further, we assume the following.

Assumption 1. For each class k, if

$\begin{matrix} {{{{P\left\lfloor {R^{t,T_{k}} > U_{k}} \right\rfloor} \leq ɛ_{k}},\mspace{14mu}{{{for}\mspace{14mu}{each}\mspace{14mu} t} \in \mathcal{J}_{k}},{then}}{{P\left\lbrack {{\sum\limits_{\tau}R_{k}^{t}} > U_{k}} \right\rbrack} \leq {ɛ_{k}.}}} & (21) \end{matrix}$

Assumption 1 is satisfied if for any fixed class k, all R_(k) ^(t)'s are comparable in the stochastic ordering sense, 1≦t≦T. We say that X and Y are comparable in the stochastic ordering sense ≦_(st) if either X≦_(st)Y or Y≦_(st)X. Indeed, in this case, for each fixed class k, there is a bottleneck tier t* such that the response time R_(k) ^(t*) stochastically dominates the others, so that P[R_(k) ^(t*,T)>U_(k)]≦ε_(k) implies that P[Σ_(t)R_(k) ^(t)>U_(k)]≦ε_(k). In particular, if for any fixed class k, R_(k) ^(t)'s are all exponential random variables or are all Weibullian random variables with the same shape parameter, then they are stochastically comparable. Also, if for any fixed class k, S_(k) ^(t)'s are identical in distribution, then one can show using coupling arguments that R_(k) ^(t)'s are stochastically comparable.

Define G_(k) ^(t,n)(c, y) to be the n-th convolution of G_(k) ^(t)(c, y) with respective to y, and then G _(k) ^(t,n)(c, y)=P└R _(k) ^(t,n) ≦y|c ^(t) =c┘.  (22)

The following theorem gives a feasible solution to problem (T).

Theorem 9. Suppose Assumption 1 holds. Then {right arrow over (c*)} is feasible to problem (T), hence guarantees the tail distribution constraints. Here {right arrow over (c*)} (c*¹, . . . , c*^(T)) with

$\begin{matrix} {c^{*t} = {\max\limits_{k \in {K{(t)}}}{\min\;{\left\{ {c \geq {q^{t}\mspace{11mu}\text{:}{G_{k}^{t,T_{k}}\left( {c,U_{k}} \right)}} \geq {1 - ɛ_{k}}} \right\}.}}}} & (23) \end{matrix}$ And Σ_(t)f_(t)(c*^(t)) is an upper bound for problem (T).

This may be proven as follows. It suffices to show (18) is satisfied under the allocation of c*^(t). First by the definition of c*^(t), it is easy to see that for each t and k, P└R^(t,T) ^(k) <U_(k)┘≦ε_(k), if kεK_(t),  (24) where K_(t) denotes the set of job classes that require to be served at tier t. This is equivalent to (21). Then (18) follows under Assumption 1. 4.3. Asymptotic Optimality

In this section, we discuss the effectiveness of the solutions presented above in sections 4.1 and 4.2. For this, we shall make the following simplifying assumption:

Assumption 2. For each class k and each tier t,

$\begin{matrix} {{\left. {P\left\lbrack {R_{k}^{t} > y} \right\rbrack} \right.\sim{P\left\lbrack {\frac{S_{k}^{t}}{c^{t} - q^{t}} > y} \right\rfloor}}.} & (25) \end{matrix}$

Note that (25) is only an approximation. In the case of M/G/1 PS queue with subexponential service times, the above assumption has been shown to be asymptotically true for large y when F_(k) ^(t) has a heavier tail than e^(−√{square root over (y)}). Here F_(k) ^(t) is the distribution function for the nominal service requirement random variable S_(k) ^(t) for class k jobs at tier t. Then, under assumption 2, we have G _(k) ^(t)(c, U _(k))=F _(k) ^(t)((c−q ^(t))U _(k)). This gives us a way to express the lower bound in (20) as a function of the nominal service time distribution. Furthermore, if we denote the complementary of F_(k) ^(t) to be F_(k) ^(t) =1−F_(k) ^(t), and the inverse function of F_(k) ^(t) to be

${{\varphi_{k}^{t}( \in )} = {\underset{y}{\arg\mspace{14mu}\min}\left\{ {{{\overset{\_}{F_{k}^{t}}(y)} \leq} \in} \right\}}},$ then, the lower bound in (20) can be written as

$\begin{matrix} {c_{*}^{t} = {q^{t} + {\max\limits_{k \in {K{(t)}}}{\varphi_{k}^{t}\;{\left( ɛ_{k} \right)/{U_{k}.}}}}}} & (26) \end{matrix}$

We denote F_(k) ^(t,n) to be the n-th convolution of F_(k) ^(t), and the complementary F_(k) ^(t,n) =1−F_(k) ^(t,n). Then, following the above argument, we can simplify the upper bound in (23) as

$\begin{matrix} {{{c^{*t} = {q^{t} + {\max\limits_{k \in {K{(t)}}}{\varphi_{k}^{t,T_{k}}\;{\left( ɛ_{k} \right)/U_{k}}}}}},{where}}{{\varphi_{k}^{t,n}( \in )} = {\underset{y}{\arg\mspace{14mu}\min}{\left\{ {{{\overset{\_}{F_{k}^{t,n}}(y)} \leq} \in} \right\}.}}}} & (27) \end{matrix}$

Assumption 3. For each k, t, there exists κ₀<∞ and δ₀>0, such that

$\begin{matrix} {{{\underset{y->\infty}{\lim\mspace{14mu}\sup}\frac{\overset{\_}{F_{k}^{t,T_{k}}}(y)}{\overset{\_}{F_{k}^{t}}(y)}} = \kappa_{0}},} & (28) \end{matrix}$ and for any δ₁>0,

$\begin{matrix} {{\underset{y->\infty}{\lim\mspace{14mu}\sup}\frac{\overset{\_}{F_{k}^{t}}\left( {y\left( {1 + \delta_{1}} \right)} \right)}{\overset{\_}{F_{k}^{t}}(y)}} \leq {\frac{1}{\kappa_{0} + \delta_{0}}.}} & (29) \end{matrix}$

Both exponential and Weibull distributions satisfy Assumption 3. In particular, for both cases,

${\underset{y->\infty}{\lim\mspace{14mu}\sup}\frac{\overset{\_}{F_{k}^{t}}\left( {y\left( {1 + \delta_{1}} \right)} \right)}{\overset{\_}{F_{k}^{t}}(y)}} = {{0\mspace{14mu}{for}\mspace{14mu}{any}\mspace{14mu}\delta_{1}} > 0.}$ On the other hand, Assumption 3 does not hold for Pareto distribution.

Proposition 10. If Assumption 3 holds, φ_(k) ^(t,T) ^(k) (ε)/φ_(k) ^(t)(ε)→1 as ε→0 for each 0≦k≦K, 0≦t≦T.  (30)

This may be proven as follows. By Assumption 3, for any δ>0, there exists y₀>0 such that for any y≧y₀,

${\frac{\overset{\_}{F_{k}^{t,T_{k}}}\left( {y\left( {1 + \delta} \right)} \right)}{\overset{\_}{F_{k}^{t}}\left( {y\left( {1 + \delta} \right)} \right)} \leq {\kappa_{0} + {\delta_{0}/2}}},{and}$ $\frac{\overset{\_}{F_{k}^{t}}\left( {y\left( {1 + \delta} \right)} \right)}{\overset{\_}{F_{k}^{t}}(y)} \leq {\frac{1}{\kappa_{0} + {\delta_{0}/2}}.}$ Therefore, for any y≧y₀, F _(k) ^(t,T) ^(k) (y(1+δ))≦ F _(k) ^(t)(y).  (31) Now, let ε₀= F_(k) ^(t) (y₀), then for any ε<ε₀, φ_(k,t)(ε)≧y₀.

Hence F _(k) ^(t,T) ^(k) (φ_(k,t)(ε)(1+δ))≦ F _(k) ^(t) (φ_(k,t)(ε))=ε.  (32)

Because the tail distribution function is monotone and F _(k) ^(t,T) ^(k) (φ_(k,t) ^(T)(ε))=ε, we then have φ_(k,t) ^(T)(ε)≦φ_(k,t)(ε)(1+δ).  (33) Hence, the result follows.

It is straightforward to see that Proposition 10 implies that for each t, c*^(t)/c_(*) ^(t)→1 as ε_(k)→0 for all k. This leads to the following asymptotic result.

Theorem 11. If Assumption (1-3) hold, then the solutions obtained by (20) and (23) are asymptotic optimal in the sense that for each t, c*^(t)=c_(*) ^(t)→1 as ε_(k)→0 for all k.

In fact, for the above theorem to hold, it does not require that ε_(k) go to 0 for all k. Instead, it only requires the minimum ε_(k) to go to 0, which is stated as follows.

Corollary 12. If Assumption (2-3) hold and for any 0≦y≦∞ there exists δ>0 such that F_(k) ^(t)(y)≧δ, then the solution obtained by (23) is asymptotic optimal in the sense that ε₀→0 where ε₀=min_(k)ε_(k).

This may be proven as follows. For each tier t, we define

${\overset{\_}{k}}_{t} = \underset{k}{\arg\mspace{14mu}\max\;{{\varphi_{k}^{t,T_{k}}\left( ɛ_{k} \right)}/U_{k}}}$ and ${\underset{\_}{k}}_{t} = {\underset{k}{\arg\mspace{14mu}\max\;{{\varphi_{k}^{t}\left( ɛ_{k} \right)}/U_{k}}}.}$ Moreover, let C _(k,t)(ε)≡φ_(k) ^(t,T) ^(k) (ε)/φ_(k) ^(t)(ε) and C _(t)=max{C _(k) _(t) _(,t)(ε _(k) _(t) ), C _(k) _(t) _(,t)(ε _(k) _(t) )}, then c* ^(t) /c _(*) ^(t) ≦C _(t).

From Proposition 10, it suffices to show that ε _(k) _(t) →0 and ε _(k) _(t) →0 for each t as ε₀→0. Let κ=max_(k)U_(k)/min_(k)U_(k). For any δ>0, set y₁=max_(k,t)φ_(k) ^(t)(δ), and ε₁=min_(k,t) F_(k) ^(t) (κy₁)>0. Now, we first show that for any {ε_(k):1≦k≦K}, if ε₀≦ε₁ then ε _(k) _(t) ≦δ. Let k₀=argmin_(k)ε_(k), then φ_(k) ₀ _(,t)(ε₀)≧φ_(k) ₀ ^(t)(ε₁)≧κy₁. On the other hand, by the definition of k _(t), φ _(k) _(t) ^(t)(ε _(k) _(t) )/U _(k) _(t) ≧φ_(k) ₀ ^(t)(ε₀)/U _(k) ₀ . Therefore, φ _(k) _(t) ^(t)(ε _(k) _(t) )≧φ_(k) ₀ ^(t)(ε₀)/κ≧y ₁≧φ _(k) _(t) ^(t)(δ), which implies ε _(k) _(t) ≦δ. One can similarly verify that ε _(k) _(t) ≦δ.

Remark 13. Pareto distribution does not satisfy the Assumption 3, and the asymptotic results do not hold. However, the ratio of the bounds obtained in the previous sections is bounded by a constant factor as ε₀ goes to zero. For F_(k) ^(t) (y)=y^(−a) ^(k) ^(t) , 0<a_(k) ^(t)≦2, c*^(t)/c_(*) ^(t) bounded by 2^(1/a); where a=min_(k,t)a_(k) ^(t).

4.4. Example: Exponential Case

We consider the case for which the response time at each tier R_(k) ^(t) is exponential distributed, that is, F_(k) ^(t) (y)=e^(−y/m) ^(k) ^(t) . For this case, denote γ_(n)(ε) to be the inverse of the Gamma tail distribution function with parameter (n, 1), then φ_(k) ^(t)(ε)=m_(k) ^(t)γ₁(ε) and γ_(k) ^(t,τ)(ε)=m_(k) ^(t)γ_(τ)(ε). Then

$\begin{matrix} {c^{*t} = {q^{t} + {\max\limits_{k \in K_{t}}\left( {v_{k}^{t}\gamma\; T_{k}\;\left( ɛ_{k} \right)} \right)}}} & (34) \end{matrix}$ is a feasible solution to problem (T) and Σ_(t)f_(t)(c*^(t)) is an upper bound on the optimal solution of (T). Similarly, the solution

$\begin{matrix} {c_{*}^{t} = {q^{t} + {\max\limits_{k \in K_{t}}\left( {v_{k}^{t}\gamma_{1}\;\left( ɛ_{k} \right)} \right)}}} & (35) \end{matrix}$ with objective value Σ_(t)f_(t)(c_(*) ^(t)) gives a lower bound for problem (T). For this case,

${c^{*t}/c_{*}^{t}} \leq {\max\limits_{k \in K_{t}}{\gamma\; T_{k}\;\left( ɛ_{k} \right){{\gamma_{1}\left( ɛ_{k} \right)}.}}}$ That is, the optimality ratio is bounded by a constant depending only on T and ε. This leads to the following theorem.

Theorem 14. If the response times {R_(k) ^(t), 1≦t≦T} are independent and identically distributed exponential random variables for each class, then (34) and (35) are two solutions which provide an upper bound and a lower bound respectively. Moreover, the optimality ratio is bounded by max_(k)γT(ε_(k))/γ₁(ε_(k)), which is a constant depending only on T and ε.

Because Assumptions (1-3) are satisfied for the exponential case, the asymptotic results we obtained in the previous section hold.

Corollary 15. If the response times {R_(k) ^(t), 1≦t≦T} are independent and identically distributed exponential random variables for each class, then the solution obtained by (23) is asymptotic optimal.

5. Mean and Tail Guarantees

To satisfy both constraint (1) and (2), the minimum required capacity is obtained by solving the following problem.

$\begin{matrix} (C) & \; \\ {\min\mspace{11mu}{\sum\limits_{t}{g_{t}\left( x^{t} \right)}}} & \; \\ \begin{matrix} {s.t.} & {{{E\left\lbrack {\sum\limits_{t}R_{k}^{t}} \right\rbrack} \leq {\overset{\_}{U}}_{k}},} & {{k = 1},\ldots\mspace{11mu},K} \end{matrix} & (36) \\ \begin{matrix} {{{P\left\lbrack {{\sum\limits_{t}R_{k}^{t}} > U_{k}} \right\rbrack} \leq ɛ_{k}},} & {{k = 1},\ldots\mspace{11mu},K} \end{matrix} & (37) \\ \begin{matrix} {{x^{t} \geq 0},} & {{t = 1},\ldots\mspace{11mu},T} \end{matrix} & (38) \end{matrix}$

Similar to Problem (T), the tail distribution constraints makes the problem difficult. If we replace those constraints as we did in section 4, assuming that Assumption 1 holds, we can obtain a feasible solution by solving the problem

$\begin{matrix} ({C1}) & \; \\ {\min\mspace{11mu}{\sum\limits_{t}{g_{t}\left( x^{t} \right)}}} & \; \\ \begin{matrix} {s.t.} & {{{\sum\limits_{t}{w_{k}^{t}x^{t}}} \leq 1},} & {{k = 1},\ldots\mspace{11mu},K} \end{matrix} & (39) \\ {0 \leq x^{t} \leq {1/\left( {{\max\limits_{k \in {K{(t)}}}{\min\left\{ {c:{{G_{k}^{t,T_{k}}\left( {c,U_{k}} \right)} \geq {1 - ɛ_{k}}}} \right\}}} - q^{t}} \right)}} & (40) \\ {{t = 1},\ldots\mspace{11mu},T} & \; \end{matrix}$ or we can obtain a lower bound on the optimal solution by solving the following problem

$\begin{matrix} ({C2}) & \; \\ {\min\mspace{11mu}{\sum\limits_{t}{g_{t}\left( x^{t} \right)}}} & \; \\ \begin{matrix} {s.t.} & {{{\sum\limits_{t}{w_{k}^{t}x^{t}}} \leq 1},} & {{k = 1},\ldots\mspace{11mu},K} \end{matrix} & (41) \\ {0 \leq x^{t} \leq {1/\left( {{\max\limits_{k \in {K{(t)}}}{\min\left\{ {c:{{G_{k}^{t}\left( {c,U_{k}} \right)} \geq {1 - ɛ_{k}}}} \right\}}} - q^{t}} \right)}} & (42) \\ {{t = 1},\ldots\mspace{11mu},T} & \; \end{matrix}$

Theorem 16. Under Assumption 1, the following holds.

-   (i) Any feasible solution to (C1) is feasible to (C); -   (ii) The optimal solution to (C) is feasible to (C2), and the     optimal solution to (C2) provides a lower bound for the solution to     (C); -   (iii) Under Assumption (2-3), the optimal solutions to (C1) and (C2)     x^(*) and x* are asymptotic optimal in the sense that (x*)^(t)=x_(*)     ^(t)→1 for each t as ε_(k)→0 for all k.

This may be proven directly from Theorems 9, 8 and 11 above.

6. Numerical Results

In this section, we use numerical results to demonstrate the performance of the inventive approximation methods. We will show how close those approximation solutions compare to the optimal solution and how performances are affected by system parameters. We will also investigate the impact of the mean end-to-end delay constraints on the approximation performance. Finally, we will show through some experiments that the optimal solution obtained in Section 3 is robust.

6.1. Approximation Performance

Throughout this section, we assume the response time in each tier for each class is exponential distributed, and for simplicity, all classes have the same tail distribution requirement ε. We first consider the systems with only end-to-end response time tail requirement but no mean delay requirement. In section 4, we presented a feasible solution to obtain the upper bound on the optimal total cost (UB) as well as a solution for the lower bound on the optimal total cost (LB). FIGS. 3, 4 and 5 respectively show how these two bounds perform for different tail distribution requirement ε, for different number of tiers T and for different number of classes K. Each figure consists of three curves representing the ratio of the upper bound (UB) over the optimal solution (UB ratio), the ratio of the lower bound (LB) over the optimal solution (LB ratio) and the ratio of UB over LB (optimality ratio).

From these figures, we first observe that the UB ratio is quite stable for different ε, T and K's which is mostly about 1.2 to 1.3. Therefore, the approximating feasible solution presented in section 4 gives a reasonable cost comparable to the possible optimal solution. The lower bound (LB) performs quite stable when the number of classes change, however, the performance degrades when the number of tiers increases or the tail distribution guarantee becomes less stringent (ε increases). The ratio of UB over LB (optimality ratio) shows a decreasing trend as ε or T decreases.

Imposing the mean end-to-end response time constraints besides the tail distribution constraints will reduce the ratio of UB over LB, which becomes smaller as the mean constraints becomes more stringent.

When the mean constraints are extremely stringent such that the tail distribution conditions are automatically satisfied, the ratio would equal 1. Tables 1 through 6 (FIGS. 6A through 6F) respectively report the bounds under different values of ε, T and K when both mean and tail constraints are present. The bounds for the cases with only tail distribution constraints are also presented for comparison. Here, the end-to-end response time threshold for the tail distribution requirement U_(k) is set to two times the mean end-to-end response time threshold Ū_(k). We observe that adding the mean constraints increases the lower bounds quite significantly in some instances. However, when ε is small, all the mean end-to-end response time constraints are automatically satisfied, and the problem reduces to the one with only tail constraints. For this case, both the upper bound and lower bound will not be affected by adding the mean end-to-end response time constraints.

6.2. Robustness

One practical concern is that the mean service time requirements m_(k) ^(t) are usually obtained through some measurement and prediction mechanism. Errors are very common in the measurement and predictions. Therefore, one would like to allocate the capacity in such a way that not only the total capacity is minimized but most of the end-to-end response time constraints are still satisfied when the input parameters vary slightly from the predicted ones. That is, the solution is required to be robust under data uncertainty. For simplicity, we only show the robustness results for the case where only mean end-to-end response time constraints are considered.

In section 3, we notice that the constraints on those non-bottleneck classes are less likely to be violated than the bottleneck classes when the service time requirements have some uncertainty, and the number of bottleneck classes are less than T. Therefore, when the number of tiers is small, we expect the optimal solution to the (M) problem to be quite robust. To demonstrate this fact through numerical example, we consider ŵ_(k) ^(t) is uniformly distributed in [w_(k) ^(t)(1−Δ), w_(k) ^(t)(1+Δ)]. Here, Δ measures how much uncertainty of the prediction on w_(k) ^(t). Table 4 and 5 give the average (over 100 samples) number of violated constraints under different K, T, and Δ when the true input parameters are (ŵ_(k) ^(t)) but the capacity allocated based on the optimal solution of the problem (M) with the predicted parameters (w_(k) ^(t)). Here, we assume the prediction of the nominal server utilization q^(t) in each tier is accurate. The robustness of the solution is quite satisfactory because all values in Table 4 and 5 are small. This implies that if we use the solution of (M) to allocate the capacity, then only very few classes will exceed their mean end-to-end delay thresholds even if the parameter could be 25% away from what we predict.

By looking into the value of the tables along each row and/or column, we can observe how the average number of violated constraints are affected by Δ, T and K. When the uncertainty level Δ or the number of tiers T increases, slightly more classes will experience unexpected long end-to-end delay. However, the total number of classes in the system K does not have much impact on the number of classes whose mean response time constraint is violated.

Table 6 gives the relative difference of the optimal objective values of the problems with input parameters (w_(k) ^(t)) and (ŵ_(k) ^(t)). It shows that the total cost does not change much when planning under parameter (w_(k) ^(t)) or (ŵ_(k) ^(t)).

7. Case Discussions Based on the Number of Nonzero s_(k)'s

We now discuss the possible cases depending on the number of nonzero s_(k)'s in the complementary slackness constraint (12). Obviously, s_(k)'s can not all be zero.

One nonzero s_(k):

If we have exactly one nonzero s_(k), assume s₁≠0, and s₂= . . . =s_(K)=0. Then from (11), we have x ^(t)=1/√{square root over (w ₁ ^(t) s ₁)}, t=1, . . . , T. The complementary slackness constraint (12) leads to

${\sum\limits_{t}{w_{1}^{t}x^{t}}} = 1.$ We then need to set

$s_{1} = {\left( {\sum\limits_{t}\sqrt{w_{1}^{t}}} \right)^{2}.}$ The solution for {right arrow over (x)} becomes

$\begin{matrix} {{x^{t} = \frac{1}{\sqrt{w_{1}^{t}}\;{\sum\limits_{\tau}\sqrt{w_{1}^{\tau}}}}},} & {{t = 1},\ldots\mspace{11mu},{T.}} \end{matrix}$ And the objective value is

${\sum\limits_{t}\frac{1}{x^{t}}} = {\left( {\sum\limits_{t}\sqrt{w_{1}^{t}}} \right)^{2}.}$ If the original problem only has one constraint, then the above formula gives the optimal solution. If there are more than one constraint in the original problem, we need to check the feasibility constraints. If the solution {right arrow over (x)} satisfy the feasibility constraint (8), then it is optimal. To guarantee the feasibility constraint (8), we need

${\sum\limits_{t}{w_{k}^{t}x^{t}}} = {{\sum\limits_{t}\frac{w_{k}^{t}}{\sqrt{w_{1}^{t}}{\sum\limits_{\tau}\sqrt{w_{1}^{\tau}}}}} \leq 1.}$ This is equivalent to

${{\sum\limits_{t}\frac{w_{k}^{t}}{\sqrt{w_{1}^{t}}}} \leq {\sum\limits_{t}\frac{w_{1}^{t}}{\sqrt{w_{1}^{t}}}}} = {\sum\limits_{t}{\sqrt{w_{1}^{t}}.}}$ T nonzero s_(k)'s: Assume we have exactly T nonzero s_(k)'s. This implies the number of classes, K, is greater than or equal to the number of tiers, T. (K≧T) Let's assume s_(k) _(j) ≠0, j=1, . . . ,T. Let's further assume the corresponding vectors {{right arrow over (w_(k) ₁ )}, . . . , {right arrow over (w_(k) _(T) )}} are linearly independent, which implies there is a unique solution {right arrow over (x)}₀ for the set of equations {right arrow over (w_(k) _(j) )}·{right arrow over (x)}=1, j=1, . . . ,T. The unique hyperplane passing through the vectors {{right arrow over (w_(k) ₁ )}, . . . , {right arrow over (w_(k) _(T) )}} can be represented as {right arrow over (x)}₀·{right arrow over (x)}=1. This can be easily checked by plugging {right arrow over (w_(k) _(j) )}, for j=1, . . . , T, as x into the equation. The intersection of this hyperplane with the t-axis is 1/x₀ ^(t). This intersection is obtained by assigning x^(j)=0; j=1, . . . , T, j≠t, in the hyperplane equation. We observe that the sum of the intersections with all axes is exactly the objective function.

We next show that the vectors {right arrow over (w)}_(k) corresponding to the binding constraints for any feasible {right arrow over (x)} must lie on the same facet. This can be shown by contradiction.

After obtaining x¹, . . . , x^(T), and making sure {right arrow over (x)}≧0, we need to set K−T s_(k)'s to be zero based on the complementary slackness constraint (12). The rest T s_(k)'s can be obtained through the optimality condition (11). If all the s₁, . . . , s_(K) are nonnegative, then the solutions x¹, . . . , x^(T),and s₁, . . . , s_(K) are optimal.

8. Illustrative Design Systems and Methodologies

Based on the above principles, we then have the following illustrative algorithm to solve the optimization problem (M1).

Algorithm I:

Step 1:

${{Let}\mspace{14mu} w} = {\arg\mspace{11mu}{\max_{{w_{k}\text{:}\mspace{11mu} 1} \leq k \leq K}\;{\sum\limits_{t = 1}^{T}{\sqrt{w_{k}^{t}}.}}}}$ Step 2: If

${{{\sum\limits_{t = 1}^{T}\frac{w_{k}^{t} - w^{t}}{\sqrt{w^{t}}}} \leq {0\mspace{14mu}{for}\mspace{14mu}{all}\mspace{14mu} k}} = 1},\ldots\mspace{11mu},K,$ stop. Return the optimal solution

${x^{t} = \frac{1}{\sqrt{w_{1}^{t}}{\sum\limits_{\tau}\sqrt{w_{1}^{\tau}}}}},{t = 1},\ldots\mspace{11mu},{T.}$ Otherwise let

${\hat{w} = {\arg\mspace{14mu}{\min_{w_{k}}\left\{ {{{\sum\limits_{t = 1}^{T}{\frac{w_{k}^{t} - w^{t}}{\sqrt{w^{t}}}\text{:}\mspace{14mu}{\sum\limits_{t = 1}^{T}\frac{w_{k}^{t} - w^{t}}{\sqrt{w^{t}}}}}} > 0},{1 \leq k \leq K}} \right\}}}},$ and go to step 3. Step 3: Solve

$\begin{matrix} {\max\limits_{0 < s < 1}{\sum\limits_{t = 1}^{T}\sqrt{{sw}^{t} + {\left( {1 - s} \right){\hat{w}}^{t}}}}} & (43) \end{matrix}$ and set w=s*w+(1−s*)ŵ, where s* is the solution to (43).

Thus, given the detailed description of principles of the invention above, illustrative methodologies and design systems for implementing such methodologies are now described. However, it is to be understood that the invention is not limited to such illustrations.

Referring now to FIG. 7, a flow diagram illustrates a process for determining a lower bound for both mean and tail distribution guarantees in accordance with illustrative principles of the invention described above.

As shown, process 700 operates as follows.

In step 710, input parameters are obtained. For each class k, the distribution function F_(k) ^(t) and the mean m_(k) of the nominal service time at tier t, the end-to-end delay service requirement (V_(k), U_(k), ε_(k)) are obtained. For each tier t, the nominal traffic intensity q, and the capacity cost function f_(t)(c) is obtained.

In step 720, for each k, t, the process computes φ_(k) ^(t)=min{y: F_(k) ^(t)(y)≧1−ε_(k)}.

In step 730, the process defines g_(t)(x^(t))=f_(t)(q^(t)+1/x^(t)), and solves

$\begin{matrix} \min & {\sum\limits_{t}{g_{t}\left( x^{t} \right)}} \\ {s.t.} & {{{\sum\limits_{t}{m_{k}^{t}{x^{t}/V_{k}}}} \leq 1},{k = 1},\ldots\mspace{11mu},K} \\ \; & {0 \leq x^{t} \leq {\min\left\{ {{{U_{k}/\phi_{k}^{t}}\text{:}\mspace{14mu} 1} \leq k \leq K} \right\}}} \end{matrix}$

Note that the above problem can be translated into the format of (M1) and then be solved using Algorithm I.

Lastly, in step 740, the optimal objective value of the above problem in step 730 then gives a lower bound to the capacity allocation problem.

Referring now to FIG. 8, a flow diagram illustrates a process for determining an upper bound for both mean and tail distribution guarantees in accordance with illustrative principles of the invention described above.

As shown, process 800 operates as follows.

In step 810, input parameters are obtained. For each class k, the distribution function F_(k) ^(t) and the mean m_(k) of the nominal service time at tier t, the end-to-end delay service requirement (V_(k), U_(k), ε_(k)) are obtained. For each tier t, the nominal traffic intensity q_(t) and the capacity cost function f_(t)(c) is obtained.

In step 820, for each k, t, the process derives F_(k) ^(t,T):the T-th convolution of F_(k) ^(t).

In step 830, for each k, t, the process computes φ_(k) ^(t)=min{y: F_(k) ^(t)(y)≧1−ε_(k)}.

In step 840, the process defines g_(t)(x^(t))=f_(t)(q^(t)+1/x^(t)), and solves

$\begin{matrix} \min & {\sum\limits_{t}{g_{t}\left( x^{t} \right)}} \\ {s.t.} & {{\sum\limits_{t}{m_{k}^{t}{x^{t}/V_{k}}}} \leq 1} \\ \; & {0 \leq x^{t} \leq {\min\left\{ {{{U_{k}/\phi_{k}^{t}}\text{:}\mspace{14mu} 1} \leq k \leq K} \right\}}} \end{matrix}$

Again, the above problem can be translated into the format of (M1) and then be solved using Algorithm I.

Lastly, in step 850, the optimal objective value of the above problem in step 840 then gives an upper bound to the capacity allocation problem. For the solution x^(t), 1/x^(t)+q^(t) is a feasible capacity allocation to tier t.

Referring now to FIG. 9, a block diagram illustrates a design system for computing capacity allocation, according to an embodiment of the present invention. In general, the design system 900 receives as input capacity allocation input parameters, e.g., as illustrated in step 710 of FIG. 7 and step 810 of FIG. 8. One or more of the capacity allocation methodologies described herein (e.g., process 700 of FIG. 7 and process 800 of FIG. 8 formulated in accordance with Algorithm I) are then employed to compute the capacity allocation results (i.e., how capacity is allocated given an input scenario so as to minimize cost and guarantee end-to-end performance).

Design system 900 may be a standalone computation system or it may be operatively connected to one or more components of a network for which it is computing results. Results computed by design system 900 may be implemented automatically and/or manually so as to realize an efficiently designed network.

Referring now to FIG. 10, a block diagram illustrates a generalized hardware architecture of a computer system suitable for implementing a design system for computing capacity allocation, according to an embodiment of the present invention. More particularly, it is to be appreciated that design system 900 in FIG. 9 may implement such a computing system 1000 to perform the methodologies of the invention. Also, one or more system components (e.g., in a network being designed) may implement such a computing system 1000. Of course, it is to be understood that the invention is not limited to any particular computing system implementation.

In this illustrative implementation, a processor 1010 for implementing at least a portion of the methodologies of the invention is operatively coupled to a memory 1020, input/output (I/O) device(s) 1030 and a network interface 1040 via a bus 1050, or an alternative connection arrangement.

It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a central processing unit (CPU) and/or other processing circuitry (e.g., digital signal processor (DSP), microprocessor, etc.). Additionally, it is to be understood that the term “processor” may refer to more than one processing device, and that various elements associated with a processing device may be shared by other processing devices.

The term “memory” as used herein is intended to include memory and other computer-readable media associated with a processor or CPU, such as, for example, random access memory (RAM), read only memory (ROM), fixed storage media (e.g., hard drive), removable storage media (e.g., diskette), flash memory, etc.

In addition, the phrase “I/O devices” as used herein is intended to include one or more input devices (e.g., keyboard, mouse, etc.) for inputting data to the processing unit, as well as one or more output devices (e.g., CRT display, etc.) for providing results associated with the processing unit. It is to be appreciated that such input devices may be one mechanism for a user to provide the design inputs used by a design system of the invention to generate design results. Alternatively, the design inputs could be read into the design system from a diskette or from some other source (e.g., another computer system) connected to the computer bus 1050. Also, inputs to the design methodologies may be obtained in accordance with the one or more input devices. The output devices may be one mechanism for a user or other computer system to be presented with results of the design methodologies.

Still further, the phrase “network interface” as used herein is intended to include, for example, one or more devices capable of allowing the computing system 1000 to communicate with other computing systems. Thus, the network interface may comprise a transceiver configured to communicate with a transceiver of another computer system via a suitable communications protocol. It is to be understood that the invention is not limited to any particular communications protocol.

It is to be appreciated that while the present invention has been described herein in the context of design systems, the methodologies of the present invention may be capable of being distributed in the form of computer readable media, and that the present invention may be implemented, and its advantages realized, regardless of the particular type of signal-bearing media actually used for distribution. The term “computer readable media” as used herein is intended to include recordable-type media, such as, for example, a floppy disk, a hard disk drive, RAM, compact disk (CD) ROM, etc., and transmission-type media, such as digital or analog communication links, wired or wireless communication links using transmission forms, such as, for example, radio frequency and optical transmissions, etc. The computer readable media may take the form of coded formats that are decoded for use in a particular data processing system.

Accordingly, one or more computer programs, or software components thereof, including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated storage media (e.g., ROM, fixed or removable storage) and, when ready to be utilized, loaded in whole or in part (e.g., into RAM) and executed by the processor 1010.

In any case, it is to be appreciated that the techniques of the invention, described herein and shown in the appended figures, may be implemented in various forms of hardware, software, or combinations thereof, e.g., one or more operatively programmed general purpose digital computers with associated memory, implementation-specific integrated circuit(s), functional circuitry, etc. Given the techniques of the invention provided herein, one of ordinary skill in the art will be able to contemplate other implementations of the techniques of the invention.

As explained herein, the present invention provides advantageous solutions to a resource allocation problem in a multi-tiered environment delivering end-to-end performance guarantees. Specifically, the invention provides service guarantees on both the mean and on the tail distribution of the end-to-end response times for each class of requests. The problem was illustratively formulated as a nonlinear program to minimize a convex separable function of the capacity assignment vector. We proved structural properties and optimality conditions for the optimal solution. We also provided geometric interpretations to illustrate key parts of the problem.

Further, as explained, the problem with the requirement for the tail probability of the end-to-end response times is a challenging problem. Under suitable assumptions, we gave a constant factor bound for the solution and also showed that it is asymptotically optimal. These assumptions are quite general, and are easily satisfied by a collection of common problems. Numerical results further demonstrated the advantageous performance of the inventive methodologies.

Advantageously, the invention addresses multi-tier architectures. The invention also addresses constraints on both the average and the tail distribution of the end-to-end response times. Further, the inventive solutions are near optimal and can be obtained efficiently. The inventive solutions are robust. They are tolerant to service requirement uncertainties. Still further, the inventive solutions can be easily obtained online to adapt to the changing environment.

Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made by one skilled in the art without departing from the scope or spirit of the invention. 

1. A method of designing capacity allocation for a multi-tiered computing system, each tier of the computing system having one or more computing devices, the method comprising a computer system performing the steps of: obtaining input parameters relating to capacity allocation; and computing a capacity allocation based on at least a portion of the input parameters utilizing a nonlinear program, the capacity allocation being computable such that one or more mean delay measures and one or more tail distribution measures are satisfied for multiple service classes, wherein the step of computing the capacity allocation further comprises formulating a capacity allocation problem as an optimization problem so as to satisfy the one or more mean delay measures and the one or more tail distribution measures, and wherein the optimization problem is formulated as a separable convex programming problem with linear constraints which is solvable by finding an optimal solution on a boundary of a convex hull representing feasible solutions to the programming problem in accordance with a location of the convex hull in relation to a feasible hyperplane, such that the optimal solution represents the capacity allocation that is implemented for the computing devices of the multi-tiered computing system.
 2. The method of claim 1, wherein the step of computing the capacity allocation further comprises substantially minimizing a cost function.
 3. The method of claim 1, wherein the solving step further comprises solving the separable convex programming problem in polynomial time.
 4. Apparatus for designing capacity allocation for a multi-tiered computing system, each tier of the computing system having one or more computing devices, the apparatus comprising: a memory; and at least one processor coupled to the memory and operative to: (i) obtain input parameters relating to capacity allocation; and (ii) compute a capacity allocation based on at least a portion of the input parameters utilizing a nonlinear program, the capacity allocation being computable such that one or more mean delay measures and one or more tail distribution measures are satisfied for multiple service classes, wherein the step of computing the capacity allocation further comprises formulating a capacity allocation problem as an optimization problem so as to satisfy the one or more mean delay measures and the one or more tail distribution measures, and wherein the optimization problem is formulated as a separable convex programming problem with linear constraints which is solvable by finding an optimal solution on a boundary of a convex hull representing feasible solutions to the programming problem in accordance with a location of the convex hull in relation to a feasible hyperplane, such that the optimal solution represents the capacity allocation that is implemented for the computing devices of the multi-tiered computing system.
 5. The apparatus of claim 4, wherein the operation of computing the capacity allocation further comprises substantially minimizing a cost function.
 6. The apparatus of claim 4, wherein the solving operation further comprises solving the separable convex programming problem in polynomial time.
 7. An article of manufacture for designing capacity allocation for a multi-tiered computing system, each tier of the computing system having one or more computing devices, the article of manufacture comprising a computer readable storage medium containing one or more programs which when executed by a computer system perform the steps of: obtaining input parameters relating to capacity allocation; and computing a capacity allocation based on at least a portion of the input parameters utilizing a nonlinear program, the capacity allocation being computable such that one or more mean delay measures and one or more tail distribution measures are satisfied for multiple service classes, wherein the step of computing the capacity allocation further comprises formulating a capacity allocation problem as an optimization problem so as to satisfy the one or more mean delay measures and the one or more tail distribution measures, and wherein the optimization problem is formulated as a separable convex programming problem with linear constraints which is solvable by finding an optimal solution on a boundary of a convex hull representing feasible solutions to the programming problem in accordance with a location of the convex hull in relation to a feasible hyperplane, such that the optimal solution represents the capacity allocation that is implemented for the computing devices of the multi-tiered computing system.
 8. The article of claim 7, wherein the step of computing the capacity allocation further comprises substantially minimizing a cost function. 